import ordermsg from './Orderdetail'
import myTable from './myTable'
import add from './Add'
import shopMsg from './Shopmsg'
//注册插件
const customer = {
    install: function(Vue, options) {
        // //组件构造器
        // const orderCon = Vue.extend(ordermsg)
        //     //组件实例化
        // const instance = new orderCon()
        Vue.component('addCustomer', add)
        Vue.component('myTable', myTable)
        Vue.component('shopmsg', shopMsg)
        Vue.component('ordermsg', ordermsg)
            //提供方法
        Vue.prototype.$show = function() {

        }
    }

}

export default customer